using UnityEngine.SceneManagement;

#region LoadAsset
public delegate void LoadAssetStartCallBack(string key);

public delegate void LoadAssetUpdateCallBack(string key, float loadBytes, float totalBytes,float percent);

public delegate void LoadAssetSucCallBack(string key, object result,object userData);

public delegate void LoadAssetFailCallBack(string key, string errorMessage,object userData);
#endregion


#region LoadScene

public delegate void LoadSceneStartCallBack(string key);

public delegate void LoadSceneUpdateCallBack(string key, float loadBytes, float totalBytes,float percent);

public delegate void LoadSceneSucCallBack(string key, object scene);

public delegate void LoadSceneFailCallBack(string key, string errorMessage);
#endregion

#region UnLoadScene

public delegate void UnLoadSceneSucCallBack();

public delegate void UnLoadSceneFailCallBack();

#endregion
